package com.hysf.service.impl;

import com.hysf.dao.BuyDao;
import com.hysf.dao.impl.BuyDaoImpl;
import com.hysf.entity.Buy;
import com.hysf.service.BuyService;

import java.util.List;

public class BuyServiceImpl implements BuyService {
    /**
     *
     * @Description:
     *
     * @Author: 石涛
     * @Date: 2024/4/9 10:51
     **/
    private BuyDao dao = new BuyDaoImpl();
    /**
     *
     * @Description:
     *
     * @Author: 石涛
     * @Date: 2024/4/9 10:51
     **/
    @Override
    public List<Buy> findAll() {
        return dao.findAll();
    }
}
